import request from '../untils/httpService'

export const getLogin = (data) => {
  return request.post('/api/wx/login', { data });
}

export const phoneLogin = (data) => {
  return request.post('/api/wx/phone_login', { data });
}

export const getUserInfo = () => {
  return request.get('/api/user/info')
}